.Net Framework > v2.0.50727 > System > Drawing > Color > FromArgb FromArgb(Int32)
FromArgb(Int32,Color)
FromArgb(Int32,Int32,Int32)
FromArgb(Int32,Int32,Int32,Int32)


FromArgb(Int32)

Category
Method
Description
Creates a System.Drawing.Color structure from a 32-bit ARGB value.
Type
Color
Character
public, static
Parameters
NameTypeDescription
argbInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

FromArgb(Int32,Color)

Category
Method
Description
Creates a System.Drawing.Color structure from the specified System.Drawing.Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
Type
Color
Character
public, static
Parameters
NameTypeDescription
alphaInt32
baseColorColor
Tags
01892ABD01, 02E3ABA98D, 0376596F91

FromArgb(Int32,Int32,Int32)

Category
Method
Description
Creates a System.Drawing.Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
Type
Color
Character
public, static
Parameters
NameTypeDescription
redInt32
greenInt32
blueInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

FromArgb(Int32,Int32,Int32,Int32)

Category
Method
Description
Creates a System.Drawing.Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
Type
Color
Character
public, static
Parameters
NameTypeDescription
alphaInt32
redInt32
greenInt32
blueInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database